.searchbar-wrap{
  display:-webkit-box;
  -webkit-box-pack:center;
  -webkit-box-align:center;
  background-color:#ebeced;
  height:44px;
}

.searchbar{
  border-radius: 5px;
  margin: 0 10px;
  background: #fff;
  height: 30px;
  line-height: 30px;
  position: relative;
  padding-left: 4px;
  -webkit-box-flex: 1;
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  color: #bbb;
  font-size: 14px;
  width: 100%;
}

.searchbar input{
  -webkit-appearance:none;
  border:0;
  background:0 0;
  color:#000;
  width:100%;
  padding:5px 0;
  position:absolute;
}

.searchbar-input {
  -webkit-appearance: none;
  border: 0;
  background: 0 0;
  color: #000;
  width: 100%;
  padding:0;
  border-radius: 5px;
  margin: 0 10px;
  background: #fff;
  height: 30px;
  line-height: 30px;
  position: relative;
  padding-left: 4px;
  -webkit-box-flex: 1;
  display: -webkit-box;
  font-size: 14px;
  display:none;
}


.searchbar-wrap .searchbar-cancel{
  color:#00a5e0;
  font-size:16px;
  padding:4px 8px;
  margin-right: 10px;
  -webkit-appearance: none;
  border: 0;
  background: 0 0;
  display:none;
}

.searchbar-wrap.focus{
  -webkit-box-pack:start;

  .searchbar-text{
    display:none;
  }

  .searchbar-input {
    display:block;
  }

  .searchbar .fa-times-circle{
    display:inline-block;
  }

  .searchbar-cancel{
    display:inline-block;
  }

}

.searchbar .fa-search {
  line-height: 30px;
  width:30px;
  height:30px;
  font-size:16px;
  text-align:center;
}

.searchbar .fa-times-circle{
  line-height: 30px;
  width:30px;
  height:30px;
  font-size:16px;
  text-align:center;
  display:none;
}
